package com.wen.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.util.Date;
@Data
public class PurchaseOrder {
  @TableId
  private long purchaseId;
  private String purchaseOrderNumber;
  private long supplierId;
  private long totalAmount;
  private double totalPrice;
  private String register;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date registerTime;
  private String checker;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date checkTime;
  private String checkReason;
  private String checkTag;
  private String payMethod;
  private String gatherTag;
  private String conveyTag;

  @TableField(exist = false)
  private String  orderDate;

}
